package com.hm.hsw1;

public class Test {
    public static void main(String[] args) {
        Manager manager = new Manager("张小强", "M001", "销售部", null);
        Clerk clerk = new Clerk("李小亮", "C001", "销售部", null);
        manager.setClerk(clerk);
        clerk.setManager(manager);
        System.out.println("======");
       // System.out.println(manager.getClerk());
        System.out.println(clerk.getManager());
        System.out.println("=====");
        System.out.println(manager.getClerk());
        manager.showMsg();
        clerk.showMsg();
    }
}
